package com.beself.dao;

import com.beself.entity.TMine;

import java.util.Map;

public interface TMineMapper {
    int deleteByPrimaryKey(Integer mId);

    int insert(TMine record);

    int insertSelective(TMine record);

    TMine selectByPrimaryKey(Integer uId);

    int updateByPrimaryKeySelective(TMine record);

    int updateByPrimaryKey(TMine record);

    int updateMine(TMine record);

    //李思远，根据注册账号的id进行插入关联u_id
    int insertuserid(Map map);

    /**
     * 会员用户
     * @param mine
     * @return
     */
    int updateMemberOfMine(TMine mine);

    /**
     * 关闭会员
     * @param uId
     * @return
     */
    int closeMember(Integer uId);
}